package com.xzy.shop.service;

import com.xzy.shop.domain.Cart;

import java.util.List;

public interface CartService {
    /**
     * 通过用户id查找用户的商品id
     * @param uid
     * @return
     */
    public List<Cart> findGidByUid(String uid);

    /**
     * 通过uid查找购物车的颜色和数量信息
     * @param uid
     * @return
     */
    public List<Cart> findAllByUid(String uid);
}
